<template>
  <div class="header">
    <div class="nav">
      <div></div>
      <div class="nav-mid">猫眼电影</div>
      <div class="nav-right">
        <img src="../assets/img/my-01.png" alt="" />
      </div>
    </div>
  </div>
</template>




<script>
export default {
  name: "MyHeader1",
};
</script>

<style lang='less' scoped>
.header {
  width: 100%;
  height: 50px;
  background: #e54847;
  // position: fixed;
  // top: 0;
  text-align: center;
  color: #fff;
}
.nav {
  width: 100%;
  height: 1.333333rem;
  background: #e54847;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.nav div:nth-child(1) {
  width: 2.666667rem;
  height: 1.333333rem;
}

.nav-right {
  width: 2.666667rem;
  height: 1.333333rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-mid {
  width: 4.266667rem;
  color: #fff;
  font-size: 0.48rem;
  text-align: center;
}

.nav-right img {
  width: 0.453333rem;
  height: 0.426667rem;
  display: inline-block;
  margin-right: 0.213333rem;
}

.nav-right {
  display: flex;
  justify-content: end;
  margin-right: 0.266667rem;
}
</style>


